<div class="easyui-layout"data-options="fit:true">
    <div id="recruit_allocation_center"data-options="region:'center',title:'未分配学员',border:false">
    	<table id="student_list"></table>
    </div>
    <div id = "recruit_allocation_south"data-options="region:'south',title:'已分配学员',split:true,border:false" style="height:200px;">  
    	<table id="recruit_allocation_list"></table>
    </div>
</div>
<script type="text/javascript">
	$(function(){		
		var tab = $("#student_list");
		var center = $("#recruit_allocation_center");
		tab.datagrid({
			fit : true,
			fitColumns : true,
			border:false,
			toolbar: [{
				iconCls : 'icon-add',
				text : "一键分配",
				handler : function() {
					 alert("rferfe");
				}
			}],
		    columns:[[
		        {field:'studentId',title:'编号',width:20,align:'center'},
		        {field:'studentName',title:'姓名',width:30,align:'center'},
		        {field:'studentSex',title:'性别',width:20,align:'center'},
		        {field:'studentSource',title:'来源',width:40,align:'center'},
		        {field:'studentLevel',title:'兴趣等级',width:30,align:'center'},
		    ]],
		    data:[{
			    	studentId:'value11', 		 
					studentName:'value12',
					studentSex:'value12',
					studentSource:'value12',
					studentLevel:'value12',
				},
				{
					studentId:'value11', 
					studentName:'value12',
					studentSex:'value12',
					studentSource:'value12',
					studentLevel:'value12',
				}]
		});
		var tabb = $("#recruit_allocation_list");
		var south = $("#recruit_allocation_south");
		tabb.datagrid({
			fit : true,
			fitColumns : true,
			border:false,
		    columns:[[
		        {field:'studentId',title:'编号',width:20,align:'center'},
		        {field:'studentName',title:'姓名',width:30,align:'center'},
		        {field:'studentSex',title:'性别',width:20,align:'center'},
		        {field:'studentSource',title:'来源',width:40,align:'center'},
		        {field:'studentLevel',title:'兴趣等级',width:30,align:'center'},
		        {field:'counselor',title:'咨询师',width:30,align:'center'},
		    ]],
		    data:[{
			    	studentId:'value11', 		 
					studentName:'value12',
					studentSex:'value12',
					studentSource:'value12',
					studentLevel:'value12',
					counselor:'value12',
				},
				{
					studentId:'value11', 
					studentName:'value12',
					studentSex:'value12',
					studentSource:'value12',
					studentLevel:'value12',
					counselor:'value12',
				}]
		});
	});
</script>